package com.jkm.mapper.read;

import com.jkm.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by 四声草 on 2018/3/27.
 */
@Mapper
public interface ReadUserMapper {

    int save(User user);

    User selectByPrimaryKey(Integer id);

    List<User> selectAll();
}
